package com.bgs.eat.evaluate.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ClassName EvaluateEntity
 * @Description TODO
 * @Author hbx
 * @Date 2022/10/31 14:53
 **/
@Data
@Table(name="order_evaluate")
public class EvaluateEntity {
    @Id
    private Integer id;

    // 用户门户id
    private Integer userProtalId;

    // 用户门户名字
    private String userProtalName;

    // 商品id
    private Integer shopId;

    //商品评价
    private String shopEvaluate;

    // 满意度评分
    private String satisfactionScore;

    //包装评分
    private String packingScore;

    //味道评分
    private String tasteScore;

    // 骑手id
    private Integer riderId;

    // 配送方式 1 骑手配送 2商家配送 3 用户自取
    private Integer deliveryType;

    //配送评价内容
    private String deliveryEvaluateContent;

    // 配送评价状态 1 满意 2 不满意
    private Integer deliveryEvaluateType;

    // 逻辑删除 0未删除 1已删除
    private Integer delFlag;

    // 发布时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
